/* Profile Page Specific Styles */
body {
    background-color: #ffffff;
}

/* Hero Section */
.profile-hero {
    height: 150px;
    background: url('../img/Frame 2147230315.jpg') no-repeat;
    background-size: cover;
    background-position: top;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .profile-hero {
        height: 300px;
    }
}

/* Bokeh Effect Fallback */
.profile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.2) 0%, transparent 30%);
}

/* Profile Card */
.profile-container {
    max-width: 1240px;
    margin: -100px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 20;
}

@media (min-width: 768px) {
    .profile-container {
        margin: -165px auto 60px;
    }
}

.profile-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 24px 24px 50px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

@media (min-width: 768px) {
    .profile-card {
        padding: 35px 40px;
        min-height: 290px;
    }
}

.profile-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .profile-header {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
}

.profile-avatar-wrapper {
    flex-shrink: 0;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .profile-avatar {
        width: 180px;
        height: 180px;
    }
}

.profile-info-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0;
}

@media (min-width: 768px) {
    .profile-info-main {
        padding-left: 10px;
    }
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .profile-name {
        font-size: 32px;
    }
}

.company-name {
    font-weight: 500;
    color: #666;
}

.profile-details {
    margin-bottom: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
    color: #666;
    font-size: 15px;
}

@media (min-width: 768px) {
    .detail-item {
        justify-content: flex-start;
    }
}

.icon-red {
    filter: invert(19%) sepia(85%) saturate(4645%) hue-rotate(349deg) brightness(85%) contrast(92%);
}

.icon-green {
    filter: invert(56%) sepia(59%) saturate(542%) hue-rotate(71deg) brightness(92%) contrast(87%);
}

.header-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFEDED;
    transition: all 0.3s ease;
}

.header-action-icon img {
    filter: invert(19%) sepia(85%) saturate(4645%) hue-rotate(349deg) brightness(85%) contrast(92%);
}

.profile-right-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

@media (min-width: 768px) {
    .profile-right-actions {
        align-items: flex-end;
        gap: 35px;
    }
}

.profile-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.profile-actions-stack {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .profile-actions-stack {
        gap: 20px;
        width: auto;
        justify-content: flex-end;
    }
}

/* New Profile Buttons */
.btn-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 26.01px;
    height: 42px;
    width: 100%;
    flex: 1;
    max-width: 130px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

@media (min-width: 375px) {
    .btn-profile {
        font-size: 14px;
        padding: 0 16px;
    }
}

@media (min-width: 768px) {
    .btn-profile {
        height: 46px;
        width: 130px;
        max-width: none;
        font-size: 15px;
        padding: 0 20px;
    }
}

.btn-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp {
    background: #50b648;
}

.btn-vcard {
    background: #d22020;
}

.btn-icon {
    margin-left: 8px;
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.btn-icon-circle {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.btn-icon-circle img {
    filter: invert(19%) sepia(85%) saturate(4645%) hue-rotate(349deg) brightness(85%) contrast(92%);
}

/* Action Buttons */
.profile-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 26px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    transition: all 0.3s ease;
    width: 160px;
    height: 46px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
    background: linear-gradient(90deg, #44c859 0%, #25d366 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.btn-vcard {
    background: linear-gradient(90deg, #d32f2f 0%, #cc2128 100%);
    box-shadow: 0 4px 15px rgba(204, 33, 40, 0.2);
}

.btn-vcard:hover {
    box-shadow: 0 6px 20px rgba(204, 33, 40, 0.3);
    transform: translateY(-2px);
}

/* Tabs */
.profile-tabs {
    display: flex;
    gap: 8px;
    background: white;
    border: 1px solid #eee;
    border-radius: 300px;
    width: 95%;
    max-width: 699px;
    height: 54px;
    padding: 6px;
    position: absolute;
    bottom: -27px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 30;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

@media (min-width: 768px) {
    .profile-tabs {
        width: 699px;
        height: 60px;
        bottom: -30px;
        overflow-x: visible;
    }
}

.profile-tabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.tab-item {
    flex: 0 0 auto;
    min-width: 90px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    border-radius: 300px;
    transition: all 0.3s ease;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .tab-item {
        font-size: 16px;
        padding: 0;
    }
}

.tab-item.active {
    background: #cc2128;
    color: white;
}

/* Content Sections */
.profile-main-content {
    max-width: 1240px;
    margin: 80px auto 60px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .profile-main-content {
        margin: 120px auto 60px;
        display: grid;
        grid-template-columns: 1fr 290px;
        gap: 100px;
    }
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 24px;
    }
}

.title-marker {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #cc2128;
}

@media (min-width: 768px) {
    .title-marker {
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 12px solid #cc2128;
    }
}

.description-text {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .description-text {
        font-size: 16px;
    }
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #666;
    font-size: 15px;
}

@media (min-width: 768px) {
    .benefit-item {
        font-size: 16px;
    }
}

.benefit-item svg {
    margin-top: 4px;
    flex-shrink: 0;
    color: #cc2128;
}

/* Sidebar Logo */
.sidebar-logo {
    display: flex;
    justify-content: center;
}

.business-logo-box {
    background: white;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 290px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .business-logo-box {
        padding: 30px;
        width: 290px;
        height: 290px;
    }
}

.business-logo-box img {
    max-width: 100%;
    height: auto;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .profile-card {
        padding: 24px;
        border-radius: 30px;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-name-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .profile-actions {
        justify-content: center;
        width: 100%;
        flex-direction: column;
    }
    
    .detail-item {
        justify-content: center;
    }
    
    .profile-tabs {
        width: 95%;
        height: auto;
        border-radius: 20px;
        padding: 10px;
        flex-wrap: wrap;
        bottom: -50px;
    }

    .profile-actions-stack {
        gap: 8px;
        width: 100%;
    }

    .btn-profile {
        padding: 0 12px;
        font-size: 12px;
        height: 38px;
        max-width: 120px;
    }

    .btn-icon-circle, .btn-icon {
        width: 34px;
        height: 34px;
    }

    .btn-icon img, .btn-icon-circle img {
        width: 16px;
    }
    
    .profile-main-content, .profile-services-content {
        grid-template-columns: 1fr;
        margin-top: 80px;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .business-logo-box {
        order: -1;
        max-width: 250px;
        margin: 0 auto 40px;
    }

    .service-card {
        padding: 20px;
        min-height: auto;
    }
}

/* Services Section */
.profile-services-content {
    max-width: 1240px;
    margin: 80px auto 60px;
    padding: 0 20px;
}

@media (min-width: 1024px) {
    .profile-services-content {
        margin: 120px auto 60px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 18px;
    width: 100%;
    min-height: 166px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.service-icon-box {
    width: 44px;
    height: 44px;
    background: #fff5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.service-icon-box svg {
    color: #cc2128;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Photos Section */
.profile-photos-content {
    max-width: 1240px;
    margin: 80px auto 60px;
    padding: 0 20px;
}

@media (min-width: 1024px) {
    .profile-photos-content {
        margin: 120px auto 60px;
    }
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

@media (min-width: 768px) {
    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

.photo-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
    aspect-ratio: 1.54 / 1;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Videos Section */
.profile-videos-content {
    max-width: 1240px;
    margin: 80px auto 60px;
    padding: 0 20px;
}

@media (min-width: 1024px) {
    .profile-videos-content {
        margin: 120px auto 60px;
    }
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

@media (min-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

.video-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
    aspect-ratio: 1.54 / 1;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(204, 33, 40, 0.8);
    border-radius: 50%;
    padding: 8px;
}

@media (min-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }
}

.video-item:hover .play-button {
    background: rgba(204, 33, 40, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* CONTACT SECTION */
.contact-wrapper {
    max-width: 1240px;
    margin: 80px auto 0;
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .contact-wrapper {
        margin: 120px auto 0;
        padding-bottom: 20px;
        display: grid;
        grid-template-columns: 1fr 650px;
        gap: 80px;
    }
}

/* LEFT SIDE - Info List */
.contact-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .contact-left {
        gap: 32px;
        align-items: flex-start;
        text-align: left;
    }
}

.srv-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .srv-logo {
        width: 260px;
    }
}

.contact-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .contact-desc {
        font-size: 16px;
        max-width: 480px;
    }
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.info-icon {
    width: 32px;
    height: 32px;
    background: #cc2128;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}

.info-text {
    color: #444;
    font-size: 14px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .info-text {
        font-size: 15px;
    }
}

/* RIGHT SIDE - Cards */
.contact-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .contact-right {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .contact-right {
        justify-content: flex-start;
    }
}

.contact-info-card {
    background: white;
    border: 1px solid #f1f1f1;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 302px;
    min-height: 270px;
}

@media (min-width: 768px) {
    .contact-info-card {
        padding: 35px;
        width: 302px;
    }
}

.contact-info-card:nth-child(2) {
    margin-top: 0;
}

@media (min-width: 1200px) {
    .contact-info-card:nth-child(2) {
        margin-top: 80px;
    }
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.card-icon-box {
    width: 50px;
    height: 50px;
    background-color: #FDECEC;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .card-icon-box {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }
}

.card-icon-box img {
    width: 22px;
    height: 22px;
    filter: invert(19%) sepia(85%) saturate(4645%) hue-rotate(349deg) brightness(85%) contrast(92%);
}

@media (min-width: 768px) {
    .card-icon-box img {
        width: 28px;
        height: 28px;
    }
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 18px;
}

@media (min-width: 768px) {
    .card-title {
        font-size: 18px;
        margin-bottom: 22px;
    }
}

.card-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: flex-start;
    padding-left: 0;
}

.card-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 13px;
}

@media (min-width: 768px) {
    .card-link-item {
        gap: 12px;
        font-size: 14px;
    }
}

.link-icon {
    width: 20px;
    height: 20px;
    background: #FFEDED;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .link-icon {
        width: 24px;
        height: 24px;
    }
}

.link-icon img {
    width: 9px;
    height: 9px;
    filter: invert(19%) sepia(85%) saturate(4645%) hue-rotate(349deg) brightness(85%) contrast(92%);
}

@media (min-width: 768px) {
    .link-icon img {
        width: 11px;
        height: 11px;
    }
}